import { Module } from '@nestjs/common';
import { CrudService } from './crud.service';
import { CrudController } from './crud.controller';
import { Crud } from './entities/crud.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Post } from 'src/post/entities/post.entity';
@Module({
  imports:[TypeOrmModule.forFeature([Crud,Post])],
  controllers: [CrudController],
  providers: [CrudService]
})
export class CrudModule {}  
